<template>
  <router-view />
</template>

<script setup>
import { useRoute } from 'vue-router'
import { onMounted } from 'vue'

const route = useRoute()
onMounted(() => {
  console.log('当前路由:', route.path)
})
</script>

<style>
body {
  margin: 0;
  padding: 0;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  background-color: #f5f7fa;
}
</style>